using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 用户充值表
    /// </summary>
    public class dt_user_recharge
    {
        /// <summary>
        /// 用户充值表
        /// </summary>
        public dt_user_recharge()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public System.Int32? user_id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public System.String user_name { get; set; }

        /// <summary>
        /// 充值单号
        /// </summary>
        public System.String recharge_no { get; set; }

        /// <summary>
        /// 支付方式ID
        /// </summary>
        public System.Int32? payment_id { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public System.Decimal? amount { get; set; }

        /// <summary>
        /// 状态0未完成1已完成
        /// </summary>
        public System.Int32? status { get; set; }

        /// <summary>
        /// 生成时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? add_time { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? complete_time { get; set; }
    }
}